package ooday03demo;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("旺财",2,"黄色");
        dog.lookHome();
        dog.eat();
        dog.swim();
        dog.drink();

        Chick chick = new Chick("小鸡",1,"白色");
        chick.fly();
        chick.eat();
        chick.drink();

        Fish fish = new Fish("鱼",1,"蓝色");
        fish.eat();
        fish.swim();
        fish.drink();
    }
}
